﻿(function (w) {
    var default_option = {
        a: 1,
        init_callback: function () {
        }
    }

    w.myTool = {
        option: default_option,
        init: function (option) {
            this.option = $.extend({}, this.option, option);
            this.option.init_callback();
        },
        getA: function () {
            return this.option.a;
        }
    }
})(window)